#ifndef FPGA_H_INCLUDED
#define FPGA_H_INCLUDED
void Open_FPGA ();
void Close_FPGA ();
char FPGA_Download (int sock,const char* fileName);
void FPGA_Init ();
unsigned short FPGA_ReadShort (unsigned int offset);
unsigned short FPGA_ReadShort_Fast (unsigned int offset);
void FPGA_WriteShort (unsigned int offset, unsigned short data);
unsigned char mutex;//fpga 互斥锁
unsigned char server_mutex;//server 互斥锁
#endif
